package com.gu.service;

import com.github.pagehelper.PageInfo;
import com.gu.VO.ServerResponse;
import com.gu.entity.VehicleRefuelingInfo;
import com.gu.entity.excelExportEntity.VehicleRefuelingInfoExp;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @Author: gusongliao
 * @Description: 车辆加油信息服务接口
 * @createDate 2023/01/05 22:05
 */
public interface VehicleRefuelingInfoService {

    ServerResponse importFile(MultipartFile[] file) throws IOException;

    public ServerResponse exportFile(String vehicleSelectorParam
            , String submitTimeStart
            , String submitTimeEnd
            , String createTimeStart
            , String createTimeEnd
            , Integer matchRule
            );

    int insertSelective(VehicleRefuelingInfo record);

    public PageInfo getAllVehicleRefuelingInfo(Integer pageNum, Integer pageSize,String vehicleSelectorParam,String submitTimeStart
            ,String submitTimeEnd
            ,String createTimeStart
            ,String createTimeEnd
            ,Integer matchRule
    );

    ServerResponse delete(String dataIds);

}
